from pydantic import BaseModel

class RatingDistribution(BaseModel):
    rating: float
    count: int

class GenreDistribution(BaseModel):
    genre: str
    count: int
    average_rating: float 